/**
 * Copyright(c) 2009, ExtremeReport Project, All Rights Reserved, Apache license 2.0
 */
package org.extreme.model.cell;

import org.extreme.model.dom.XElement;

/**
 * A Cell with element in some position(col, row).
 * @author Extreme
 *
 */
public interface Cell {
	
	/**
	 * get element
	 * @return element the cell contains
	 */
	public XElement getElement();
	
	/**
	 * get column
	 * @return the column of the cell
	 */
	public int getColumn();
	
	/**
	 * set column
	 * @param col
	 */
	public void setColumn(int col);
	
	/**
	 * get column span
	 * @return the column span of the cell
	 */
	public int getColumnSpan();
	
	/**
	 * set column span
	 * @param colSpan
	 */
	public void setColumnSpan(int colSpan);	
	

	/**
	 * get row
	 * @return the row of the cell
	 */
	public int getRow();
	
	/**
	 * set row
	 * @param row
	 */
	public void setRow(int row);

	/**
	 * get row span
	 * @return the row span of the cell
	 */
	public int getRowSpan();
	
	/**
	 * set row span
	 * @param rowSpan
	 */
	public void setRowSpan(int rowSpan);

}
